package com.example.graduatedesigned.bean;

public class LedProductRequest {
    private String product_id;
    private String device_name;
    private Params params;

    // 构造函数、getter 和 setter 方法
    public LedProductRequest(String product_id, String device_name, Params params) {
        this.product_id = product_id;
        this.device_name = device_name;
        this.params = params;
    }

    // getter 和 setter 方法
    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public String getDevice_name() {
        return device_name;
    }

    public void setDevice_name(String device_name) {
        this.device_name = device_name;
    }

    public Params getParams() {
        return params;
    }

    public void setParams(Params params) {
        this.params = params;
    }

    public static class Params {
        private boolean led;

        // 构造函数、getter 和 setter 方法
        public Params(boolean humidifier) {
            this.led = humidifier;
        }

        public boolean isHumidifier() {
            return led;
        }

        public void setHumidifier(boolean humidifier) {
            this.led = humidifier;
        }
    }
}
